package kubayaxi.video.mybatis.customize.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import kubayaxi.video.mybatis.customize.model.video.dto.GetPublishListDTO;
import kubayaxi.video.mybatis.customize.model.video.dto.GetRelatedVideoDTO;
import kubayaxi.video.mybatis.customize.model.video.vo.GetIndexVideoVO;
import kubayaxi.video.mybatis.customize.model.video.vo.GetPublishListVO;
import kubayaxi.video.mybatis.customize.model.video.vo.GetRelatedVideoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface VideoMeMapper {
    List<GetIndexVideoVO> getIndexVideo(@Param("idList") List<Long> videoIdList);

    List<GetIndexVideoVO> getIndexVideo2(@Param("num") Integer num,@Param("userId") Long userId);

    List<GetRelatedVideoVO> getRelatedVideo(@Param("dto")GetRelatedVideoDTO dto);

    IPage<GetPublishListVO> getPublishList(Page page,@Param("dto")GetPublishListDTO dto);
}
